package Dao;

import Bean.Order;
import Bean.OrderItem;

import java.util.List;

public interface OrderDao {
    //就一个订单，没有其他的，可以指定
    public void insertOrder(Order order);
    public List<Order> getALLOrder(Integer userId);
    public void insertOrderItem(OrderItem orderItem);
    public List<OrderItem> getOrderALL(String orderNumber);
    public void updateStatue(String word,Integer userId,String orderNumber,String time);
}
